﻿#region Using namespaces

using System;

#endregion

namespace BOL.Apps.GeneNetworkBrowser.ViewModels
{
    public interface IDialogProvider
    {
        /// <summary>Open a project file dialog.</summary>
        string NewProjectFileDialog();

        string OpenProjectFileDialog();

        //string OpenTextFileDialog();

        string OpenGeneValueFileDialog();

        /// <summary>Open network files dialog.</summary>
        string[] OpenNetworkFilesDialog();

        /// <summary>Open analysis files dialog.</summary>
        string[] OpenAnalysisFilesDialog();

        /// <summary>Save as a project file dialog.</summary>
        string SaveAsProjectFileDialog();

        /// <summary>Save as network file dialog.</summary>
        string SaveAsNetworkFileDialog();

        /// <summary>Save as analysis files dialog.</summary>
        string SaveAsAnalysisFileDialog();

        /// <summary>Display an error message dialog box.</summary>
        void ErrorMessage(string message);

        /// <summary>Allow the user to confirm whether they want to close a modified document.</summary>
        bool QueryCloseModifiedDocument(DocumentViewModel document);

        /// <summary>Allow the user to confirm whether they want to close the application when 1 or more documents are modified.</summary>
        bool QueryCloseApplicationWhenDocumentsModified();
    }
}
